<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css"
href="<%=request.getContextPath()%>/css/bootstrap.min.css"></link>
<title>信息工程学院成教管理系统 </title>
</head>
<body>
	<div class="container">
		<div class="page-header">
  			<h1>
  				<img alt="logo" src="<%=request.getContextPath()%>/images/logo.png">金华职业技术学院 <small>信息学院成教管理系统</small>
  			</h1>
		</div>
    		<nav class="navbar navbar-default" role="navigation">  
     			<div class="navbar-header">  
					<a class="navbar-brand" href="#">首页</a>       				
     			</div> 
     			<div class="collapse navbar-collapse" id="myCollapse">  
       				<ul class="nav navbar-nav">  
         				  
         				<li class="dropdown">  
           					<a href="#" class="dropdown-toggle" data-toggle="dropdown">学生学籍<b 

class="caret"></b></a>  
           					<ul class="dropdown-menu">  
             						<li><a href="information.jsp">个人信息</a></li> 
             						<c:if test="${role==2}">
           							<li><a href="#">导入信息</a></li>
           							<li><a href="#">修改信息</a></li>
           						</c:if> 				 
           					</ul>  
         				</li>
					<li class="dropdown">  
           					<a href="#" class="dropdown-toggle" data-toggle="dropdown"> 学生成绩<b 

class="caret"></b></a>  
           					<ul class="dropdown-menu">  
             						<li><a href="score.jsp">查看成绩</a></li>  
									<c:if test="${role==2}">
           							<li><a href="#">导入成绩</a></li>
           							<li><a href="#">修改成绩</a></li>
           						</c:if>
             					 
           					</ul>  
         				</li>  
					<li class="dropdown">  
           					<a href="#" class="dropdown-toggle" data-toggle="dropdown">缴费信息<b 

class="caret"></b></a>  
           					<ul class="dropdown-menu">  
             						<li><a href="payment.jsp">缴费情况</a></li>  
									<c:if test="${role==2}">
           							<li><a href="#">导入信息</a></li>
           							<li><a href="#">修改信息</a></li>
           						</c:if>
             					 
           					</ul>  
         				</li>   
       				</ul>  
       
       				<ul class="nav navbar-nav navbar-right">  
          				
         				<li class="dropdown">  
           					<a href="#" class="dropdown-toggle" data-toggle="dropdown">
           						<c:if test="${role==1}">学生</c:if>
           						<c:if test="${role==2}">老师</c:if>
           					<b class="caret"></b></a>
           					<ul class="dropdown-menu">
           						<li><a href="#">${username}</a></li>
								<li><a href="logout.do">注销</a></li> 
           					</ul>  
         				</li>  
       				</ul>  
     			</div>  
    		</nav> 
    		
	</div>
</body>
<script src="<%=request.getContextPath()%>/js/jquery.min.js" type="text/javascript"></script>
<script src="<%=request.getContextPath()%>/js/bootstrap.min.js" type="text/javascript"></script>
</html>